package com.xianyun.site.auth.common.exception;

import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.AuthenticationException;

/**
 * @author mac_zyj
 */
@Slf4j
public class AuthTokenSaveException extends AuthenticationException {
    private static final String ERROR_MSG ="三方账号记录保存错误";
    public AuthTokenSaveException( Throwable t) {
        super(ERROR_MSG, t);
    }

    public AuthTokenSaveException() {
        super(ERROR_MSG);
        log.info(ERROR_MSG);
    }
}
